home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3dragp.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_DRAGPOINT_H = 1;
- include("real/objects/r3prim.js")
-
-
- var R3CLID_DRAGPOINT = 1726;
-
-
-
-
- // Description: report hit information to the master
- // Virtual method
- // p1: Number, slaves distance to the ground
- // p2: r3Vect, slaves previous position
- // p3: r3Vect, slaves new position
-
- R3DRAGPOINTM_HIT = 1726000;
-
- function mR3DRAGPOINTM_HIT(p1, p2, p3) {
- DoA3(this.r3obj, 1726000, p1, R3TID_FLOAT, 0, p2, R3TID_VECTOR, 0, p3, R3TID_VECTOR, 0);
- }
-
-
-
-
- var R3DRAGPA_Mode = 1726500; // Integer
- R3DRAGPA_LastPosition = 1444567076;
- function SetR3DRAGPA_LastPosition(value) {
- R3Set(this.r3obj, R3DRAGPA_LastPosition, value, R3TID_VECTOR, 0);
- }
-
- function GetR3DRAGPA_LastPosition() {
- return R3Get(this.r3obj, R3DRAGPA_LastPosition, R3TID_VECTOR, 0);
- }
-
-
-
- function r3Dragpoint () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_DRAGPOINT, arguments);
- }
- // Methods
- this.HIT=mR3DRAGPOINTM_HIT;
-
- // Attributes
- this.GetLastPosition=GetR3DRAGPA_LastPosition;
- this.SetLastPosition=SetR3DRAGPA_LastPosition;
- }
-
- r3Dragpoint.prototype=new r3Primitive;
- // r3dragp.h_H